package com.javasvup.servicecode.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "lagou-cloud-gateway",fallback = EmailTFallback.class,path = "/mail")
public interface EmailTService {
    @GetMapping("/sendMail/{email}/{code}")
    public Integer sendMail(@PathVariable String email, @PathVariable String code);
}
